package com.ymatou.iapi.synctrade.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*同步指令Call
*FreeMaker Template自动生成代码
*/
public class SyncOrderCmdCall extends YmatouBaseCall {
	private static String opurl = "api/syncByCommand";

	public SyncOrderCmdCall() {
		super(EnvSetup.getSystemUrl("tradingsync"), opurl, "POST", "JSON");
	}

	@Override
	public void addDefHeader() {
		client.addHeader("Accept",
				"text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
}